
// 自动生成模板SpikesActivities
package activity
import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	"time"
)

// spikesActivities表 结构体  SpikesActivities
type SpikesActivities struct {
    global.GVA_MODEL
    SpikesTitle  *string `json:"spikesTitle" form:"spikesTitle" gorm:"column:spikes_title;comment:活动标题;size:30;"`  //活动标题 
    SpikeStartTime  *time.Time `json:"spikeStartTime" form:"spikeStartTime" gorm:"column:spike_start_time;comment:秒杀开始时间;"`  //秒杀开始时间 
    SpikeEndTime  *time.Time `json:"spikeEndTime" form:"spikeEndTime" gorm:"column:spike_end_time;comment:秒杀结束时间;"`  //秒杀结束时间 
    SpikesStatus  *int `json:"spikesStatus" form:"spikesStatus" gorm:"column:spikes_status;comment:秒杀活动状态 0活动结束 1活动开启;"`  //秒杀活动状态 0活动结束 1活动开启 
}


// TableName spikesActivities表 SpikesActivities自定义表名 spikes_activities
func (SpikesActivities) TableName() string {
    return "spikes_activities"
}





